package com.hexacta.radio.persistence;

import java.io.Serializable;
import java.util.List;

import org.springframework.orm.hibernate3.support.HibernateDaoSupport;

public abstract class HibernateRepository extends HibernateDaoSupport {
	
	public Serializable save(Object anObject){
		return this.getHibernateTemplate().save(anObject);
	}
	
	public List select(String query){
		return this.getHibernateTemplate().find(query);
	}
	
}
